for i, index in enumerate([1, 2, 3, 4, 5]):
    print(index)
for index, value in enumerate([1, 2, 3, 4, 5]):
    print(index)

    a = ["apple", "pear", "banana", "pineapple", "watermelon"]

for index, value in enumerate(a):
    print("第", index+1, "种水果是", value)

template = '编号: %09d\t公司名称: %s\t官网:http://www.%s.com'
context1 = (7, '百度', 'baidu')
context2 = (8, '新浪', 'sina')
print(template % context1)
print(template % context2)

print(type(context1))

Q = 10
print("我是" + Q + "岁")
